package com.soft.entity;

public class BusTeam {
    int busId;
    String carname;
    int administeratorId;
    int comNumber;
    int LineId;
    CarInfo carInfo;

    @Override
    public String toString() {
        return "BusTeam{" +
                "busId=" + busId +
                ", carname='" + carname + '\'' +
                ", administeratorId=" + administeratorId +
                ", comNumber=" + comNumber +
                ", LineId=" + LineId +
                ", carInfo=" + carInfo +
                '}';
    }

    public BusTeam(int busId, String carname, int administeratorId, int comNumber, int lineId, CarInfo carInfo) {
        this.busId = busId;
        this.carname = carname;
        this.administeratorId = administeratorId;
        this.comNumber = comNumber;
        LineId = lineId;
        this.carInfo = carInfo;
    }

    public int getBusId() {
        return busId;
    }

    public void setBusId(int busId) {
        this.busId = busId;
    }

    public String getCarname() {
        return carname;
    }

    public void setCarname(String carname) {
        this.carname = carname;
    }

    public int getAdministeratorId() {
        return administeratorId;
    }

    public void setAdministeratorId(int administeratorId) {
        this.administeratorId = administeratorId;
    }

    public int getComNumber() {
        return comNumber;
    }

    public void setComNumber(int comNumber) {
        this.comNumber = comNumber;
    }

    public int getLineId() {
        return LineId;
    }

    public void setLineId(int lineId) {
        LineId = lineId;
    }

    public CarInfo getCarInfo() {
        return carInfo;
    }

    public void setCarInfo(CarInfo carInfo) {
        this.carInfo = carInfo;
    }
}
